package com.mrjy.coursepackage.bo;

import com.mrjy.common.entity.CoursePackageCommentInfo;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;


/**
 * 课程包-视频关联  业务类
 *
 * @author csshui
 * @date
 */
public interface ICoursePackageCommentInfoBo {
    /**
     * 新增记录
     *
     * @param info
     * @return
     */
    public Object txInsert(CoursePackageCommentInfo info);

    /**
     * 全部修改，不管值是否为空
     *
     * @param info
     * @return
     */
    public Object txUpdate(CoursePackageCommentInfo info);

    /**
     * 只修改不为空的值
     *
     * @param info
     * @return
     */
    public Object txUpdateById(CoursePackageCommentInfo info);

    public Object txDelete(Integer id);

    public Object selectById(Integer id);

    Object insertSelective(CoursePackageCommentInfo info);

    Object updateDisableFlag(CoursePackageCommentInfo info);

    Object selectUserDetailByCId(CoursePackageCommentInfo info, HttpSession session);

    Object selectPageByCid(CoursePackageCommentInfo info);

    Object selectPageList(CoursePackageCommentInfo info);

    Object export(CoursePackageCommentInfo info, HttpServletResponse response, HttpSession session);
}
